package com.mercycrazy.recruit.constant;

/**
 * Rabbitmq 相关的常量定义
 *
 * @author <a href="mailto:1443424326@qq.com">mercycrazy</a>
 * @since 2023-01-19
 */
//@Con
public class RabbitMQConstant {

    /** 发送短信的队列 */
    public static final String SMS_QUEUE = "sms_queue";

    /** 发送短信的死信队列 */
    public static final String SMS_QUEUE_DEAD = "sms_queue_dead";

    /** 定义短信发送的交换机的名字 */
    public static final String SMS_EXCHANGE = "sms_exchange";

    /** 定义短信发送的死信交换机的名字 */
    public static final String SMS_EXCHANGE_DEAD = "sms_exchange_dead";

    /** 短信发送的 routing key 匹配 */
    public static final String SMS_ROUTING = "boss.recruit.sms.#";

    /** 短信发送的死信 routing key 匹配 */
    public static final String SMS_ROUTING_DEAD = "boss.recruit.sms.dead.#";

    /** 登录短信发送匹配的 routing key */
    public static final String SMS_LOGIN_SEND_ROUTING = "boss.recruit.sms.login.send";

    /** 登录短信发送匹配的 routing key - 死信 routing */
    public static final String SMS_LOGIN_SEND_ROUTING_DEAD = "boss.recruit.sms.dead.display";
}
